make ldconfig use the built-in system paths
authorSteve Langasek <steve.langasek@linaro.org>
Sun, 12 Dec 2021 11:04:30 +0000 (11:04 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 12 Dec 2021 11:04:30 +0000 (11:04 +0000)
commita89d6c1e538020e3440d78e071c6dc2ae636660a
tree337e1bc78c8f7de21ada8f79ad184028803fa9e9
parent55d5fb369136063b9683d1f2957f105b2f199018
make ldconfig use the built-in system paths

Bug-Ubuntu: https://bugs.launchpad.net/bugs/736932

Make ldconfig use the same view of built-in system paths that ld.so does,
instead of just using SLIBDIR and LIBDIR; this corrects a failure of
ldconfig to cache libraries in non-multiarch directories when building for
multiarch, even though they're on the system path.

Gbp-Pq: Topic any
Gbp-Pq: Name local-ldconfig-multiarch.diff
elf/ldconfig.c